Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods


ODStorageUnitCursor

Superclasses
ODObject
Subclasses
none

An object of the ODStorageUnitCursor class provides swift focusing on frequently accessed data in a storage unit.

Description

A storage-unit cursor represents a focus context for a storage unit. The focus context can be the entire storage unit, a particular property, or a particular value of a particular property. When the focus context is the entire storage unit, the data of interest includes all properties and all their values. When the focus context is a particular property, the data of interest includes all values of that property. When the focus context is a particular value, the data of interest is the data stream corresponding to that value.

A storage-unit cursor uses a property name, a value type, and a value index to specify its focus context. Methods of the storage-unit cursor allow you to get and set each of these three pieces of information.

A storage-unit cursor makes it simple for you to focus the storage unit on the corresponding focus context. Your part creates a storage-unit cursor object by calling its storage unit's CreateCursor (page 676) or CreateCursorWithFocus (page 677) methods. Your part calls its storage unit's FocusWithCursor method (page 685) to focus the storage unit on the focus context represented by a storage-unit cursor.

For more information about storage units, focus contexts, and value indexes, see the ODStorageUnit class description (page 664).

Methods

This section presents summary descriptions of the ODStorageUnitCursor methods, followed by detailed descriptions in alphabetical order.

GetProperty
Gets the property name of this storage-unit cursor.
SetProperty
Sets the property name of this storage-unit cursor.
GetValueIndex
Gets the value index of this storage-unit cursor.
SetValueIndex
Sets the value index of this storage-unit cursor.
GetValueType
Gets the value type of this storage-unit cursor.
SetValueType
Sets the value type of this storage-unit cursor.

Methods
GetProperty
GetValueIndex
GetValueType
SetProperty
SetValueIndex
SetValueType

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help